package com.own.aop.permission;

import java.lang.annotation.ElementType;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * PermissionRole
 *
 * @author chenxueli
 * @date 2022-08-18 15:44:00
 */
@Target(ElementType.METHOD)
@Retention(value = RetentionPolicy.RUNTIME)
@Repeatable(PermissionRoles.class)
public @interface PermissionRole {

    /**
     * 角色名称信息
     *
     * @return 角色名称信息
     */
    String value();

}
